SLES 12
Sponsored Link

Enable Chroot Environment
2015/11/21
  Enable Chroot Environment.
It's simply install chroot packge.
dlp:~ #
zypper -n install bind-chrootenv
# named.conf is moved to the follows

dlp:~ #
ll /var/lib/named/etc

total 12
-rw-r--r-- 1 root root   355 Oct  3 02:14 localtime
-rw-r--r-- 1 root root  1400 Nov 20 16:22 named.conf
-rw-r--r-- 1 root named    0 Nov 20 16:26 named.conf.include
drwxr-xr-x 1 root root    62 Nov 20 16:26 named.d
-rw-r----- 1 root named  141 Nov 20 15:56 rndc.key
drwxr-xr-x 1 root root    22 Nov 20 16:26 ssl

# links of zone files are created like follows

dlp:~ #
ll /var/lib/named/var/lib/named

lrwxrwxrwx 1 root root 5 Nov 20 15:56 /var/lib/named/var/lib/named -> ../..
 
Tweet